package com.lang8.user.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long userInfoId;
	private String loginId;
	private String password;
	private String nickName;
	private int picStatus;
	private int gender;
	private String hometown;
	private String residence;
	private String nativeLang;
	private String learningLang;
	private int userStatus;
	private Date createTime;
	private String createIp;
	private Date lastLoginTime;
	private String lastLoginIp;
	private Date lastModifyTime;
	private String lastModifyIp;
	private List<UserInfo> friendList = new ArrayList<UserInfo>();
	
	public static final int PIC_STATUS_NO = 0;
	public static final int PIC_STATUS_YES = 1;
	public static final int USER_STATUS_NEW = 1;
	public static final int USER_STATUS_VALID = 2;
	public Long getUserInfoId() {
		return userInfoId;
	}
	public void setUserInfoId(Long userInfoId) {
		this.userInfoId = userInfoId;
	}
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public int getPicStatus() {
		return picStatus;
	}
	public void setPicStatus(int picStatus) {
		this.picStatus = picStatus;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getHometown() {
		return hometown;
	}
	public void setHometown(String hometown) {
		this.hometown = hometown;
	}
	public String getResidence() {
		return residence;
	}
	public void setResidence(String residence) {
		this.residence = residence;
	}
	public String getNativeLang() {
		return nativeLang;
	}
	public void setNativeLang(String nativeLang) {
		this.nativeLang = nativeLang;
	}
	public String getLearningLang() {
		return learningLang;
	}
	public void setLearningLang(String learningLang) {
		this.learningLang = learningLang;
	}
	public int getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateIp() {
		return createIp;
	}
	public void setCreateIp(String createIp) {
		this.createIp = createIp;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public String getLastModifyIp() {
		return lastModifyIp;
	}
	public void setLastModifyIp(String lastModifyIp) {
		this.lastModifyIp = lastModifyIp;
	}
	public List<UserInfo> getFriendList() {
		return friendList;
	}
	public void setFriendList(List<UserInfo> friendList) {
		this.friendList = friendList;
	}
}
